package com.vast.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

@ApiModel(value="com.vast.admin.entity.ContractPlaceholder")
@Data
@TableName(value = "contract_placeholder")
public class ContractPlaceholder {
     @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="null")
    private Long id;

    @TableField(value = "contract_id")
    @ApiModelProperty(value="null")
    private Long contractId;

    @TableField(value = "contract_detail_id")
    @ApiModelProperty(value="null")
    private Long contractDetailId;

    @TableField(value = "template_id")
    @ApiModelProperty(value="null")
    private Long templateId;

    @TableField(value = "template_record_id")
    @ApiModelProperty(value="null")
    private Long templateRecordId;

    @TableField(value = "placeholder_id")
    @ApiModelProperty(value="null")
    private Long placeholderId;

    /**
     * 占位符名称
     */
    @TableField(value = "placeholder_name")
    @ApiModelProperty(value="占位符名称")
    private String placeholderName;

    /**
     * 占位符归属
     */
    @TableField(value = "placeholder_belong")
    @ApiModelProperty(value="占位符归属")
    private String placeholderBelong;

    /**
     * 占位符值
     */
    @TableField(value = "placeholder_value")
    @ApiModelProperty(value="占位符值")
    private String placeholderValue;

    /**
     * 占位符标签(，0文本，1身份证 2日期 3手机号 4数字 5签章 6借款期数 7月利率 8还款方式 9每月还款日 10合同金额)
     */
    @TableField(value = "placeholder_tag")
    @ApiModelProperty(value="占位符标签(，0文本，1身份证 2日期 3手机号 4数字 5签章 6借款期数 7月利率 8还款方式 9每月还款日 10合同金额)")
    private Integer placeholderTag;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value="创建时间")
    private Date createTime;

    /**
     * 创建人
     */
    @TableField(value = "create_by")
    @ApiModelProperty(value="创建人")
    private Long createBy;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty(value="修改时间")
    private Date updateTime;

    /**
     * 修改人
     */
    @TableField(value = "update_by")
    @ApiModelProperty(value="修改人")
    private Long updateBy;

    public static final String COL_CONTRACT_ID = "contract_id";

    public static final String COL_CONTRACT_DETAIL_ID = "contract_detail_id";

    public static final String COL_TEMPLATE_ID = "template_id";

    public static final String COL_TEMPLATE_RECORD_ID = "template_record_id";

    public static final String COL_PLACEHOLDER_ID = "placeholder_id";

    public static final String COL_PLACEHOLDER_NAME = "placeholder_name";

    public static final String COL_PLACEHOLDER_BELONG = "placeholder_belong";

    public static final String COL_PLACEHOLDER_VALUE = "placeholder_value";

    public static final String COL_PLACEHOLDER_TAG = "placeholder_tag";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_CREATE_BY = "create_by";

    public static final String COL_UPDATE_TIME = "update_time";

    public static final String COL_UPDATE_BY = "update_by";
}